package com.yq.backend.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("card_user")
public class CardUser implements Serializable {

    @ApiModelProperty(value = "主键ID")
    private String id;

    @ApiModelProperty(value = "用户名")
    private String uname;

    @ApiModelProperty(value = "头像")
    private String pic;

    @ApiModelProperty(value = "密码")
    private String passwd;

    @ApiModelProperty(value = "姓名")
    private String realname;

    @ApiModelProperty(value = "身份证号")
    private String idcard;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "等级")
    private int level;

    @ApiModelProperty(value = "注册时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createtime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatetime;



}
